package cn.heycm.blog.console.domain.article.repository;

import cn.heycm.blog.console.infra.dao.article.entity.Article;
import cn.heycm.blog.console.infra.dao.article.entity.ArticleHistory;

import java.util.List;

/**
 * 文章存储
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/18 21:19
 */
public interface AdminArticleRepository {

    Article findById(long articleId);

    void save(Article article);

    List<ArticleHistory> findHistory(long articleId);

}
